package com.better517na.elasticseach.context;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "InputParam", description = "执行参数")
public class InputParam /*extends BasePojo*/ {

    @ApiModelProperty(value = "es地址", example = "http://192.168.1.34", required = false)
    String utl;
    @ApiModelProperty(value = "es端口", example = "9200", required = false)
    String port;
    @ApiModelProperty(value = "(导出目录)导出文件至一下目录", example = "D:\\esData\\", required = false)
    String outPut ;
    @ApiModelProperty(value = "导入数据读取文件目录", example = "D:\\esData\\", required = false)
    String inPut ;
    @ApiModelProperty(value = "文件前缀", example = "D__out", required = false)
    String prefix ;
    @ApiModelProperty(value = "导出的索引", example = "collection_hotel_list_new", required = false)
    String producerIndex;
    @ApiModelProperty(value = "导出索引类型", example = "CollectionHotelList", required = false)
    String producerType;
    @ApiModelProperty(value = "导入的索引", example = "collection_hotel_list_new", required = false)
    String consumerIndex;
    @ApiModelProperty(value = "导入索引类型", example = "CollectionHotelList", required = false)
    String consumerType;
    @ApiModelProperty(value = "import导入，export导出，custom执行自定义的语句导出", example = "export", required = false)
    String exeMethod ;
    @ApiModelProperty(value = "自定义导出语句", example = "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"CityID\":\"001001001\"}}]}},\"size\":20000}", required = false)
    String cusDsl;

    public String getUtl() {
        return utl;
    }

    public void setUtl(String utl) {
        this.utl = utl;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getOutPut() {
        return outPut;
    }

    public void setOutPut(String outPut) {
        this.outPut = outPut;
    }

    public String getInPut() {
        return inPut;
    }

    public void setInPut(String inPut) {
        this.inPut = inPut;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getProducerIndex() {
        return producerIndex;
    }

    public void setProducerIndex(String producerIndex) {
        this.producerIndex = producerIndex;
    }

    public String getProducerType() {
        return producerType;
    }

    public void setProducerType(String producerType) {
        this.producerType = producerType;
    }

    public String getConsumerIndex() {
        return consumerIndex;
    }

    public void setConsumerIndex(String consumerIndex) {
        this.consumerIndex = consumerIndex;
    }

    public String getConsumerType() {
        return consumerType;
    }

    public void setConsumerType(String consumerType) {
        this.consumerType = consumerType;
    }

    public String getExeMethod() {
        return exeMethod;
    }

    public void setExeMethod(String exeMethod) {
        this.exeMethod = exeMethod;
    }

    public String getCusDsl() {
        return cusDsl;
    }

    public void setCusDsl(String cusDsl) {
        this.cusDsl = cusDsl;
    }
}
